package cn.myfirefly.moming.common.entity;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import cn.myfirefly.core.entity.BasePO;

@Entity
@Table(name = "mm_data_auth_object")
public class MmDataAuthObject extends BasePO implements java.io.Serializable {
		
	/**
	 * 
	 */
	private static final long serialVersionUID = 1876285603247230800L;
	//columns START
	/** id */
	private Integer id;
	/** 对象名称 */
	private String objectName;
	/** 对象值 */
	private String objectValue;
	/** 对象值类型，ID，NAME */
	private String valueType;
	//columns END

	/**
	 * id
	 * @return
	 */
	@Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}
	
	/**
	 * id
	 * @param value
	 */
	public void setId(Integer value) {
		this.id = value;
	}
		
	/**
	 * 对象名称
	 * @return
	 */
	@Column(name = "object_name", nullable = true)
	public String getObjectName() {
		return this.objectName;
	}
	
	/**
	 * 对象名称
	 * @param value
	 */
	public void setObjectName(String value) {
		this.objectName = value;
	}
		
	/**
	 * 对象值
	 * @return
	 */
	@Column(name = "object_value", nullable = true)
	public String getObjectValue() {
		return this.objectValue;
	}
	
	/**
	 * 对象值
	 * @param value
	 */
	public void setObjectValue(String value) {
		this.objectValue = value;
	}
		
	/**
	 * 对象值类型，ID，NAME
	 * @return
	 */
	@Column(name = "value_type", nullable = true)
	public String getValueType() {
		return this.valueType;
	}
	
	/**
	 * 对象值类型，ID，NAME
	 * @param value
	 */
	public void setValueType(String value) {
		this.valueType = value;
	}
		
}

